package org.zju.demo.shoppingdemo.model.Request;

import com.google.gson.annotations.SerializedName;

import org.zju.demo.shoppingdemo.utils.Constant;

/**
 * Created by ZJDX on 2015/9/9.
 */
public class GetGoodModel extends BaseModel {
    @SerializedName("goods_category")
    private int goodsCategory;
    @SerializedName("time")
    private String time;
    @SerializedName("longitude")
    private double longitude;
    @SerializedName("latitude")
    private double latitude;

    public GetGoodModel() {
        this.commandId = Constant.COMMAND_QUERYGOODS;
    }

    public int getGoodsCategory() {
        return goodsCategory;
    }

    public void setGoodsCategory(int goodsCategory) {
        this.goodsCategory = goodsCategory;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }
}
